Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 8 Forum

Notes/Domino 8 Forum

Previous Next
Subject: Cannot change http status code
Feedback Type: Problem
Product Area: Domino Server
Technical Area: Application development
Platform: Windows 2003 server
Release: 8.0.2
Reproducible: Always

Hi,

When developing a lotusscript web agent. I want to programmatically change the http status code (e.g. 200, 400 etc.), but I've found that domino does not allow that. For example, when I send...

Print |content-type:application/vnd.ms-excel|

... this works and the header is added, but when I send...

Print |HTTP/1.1 503 Service Temporarily Unavailable|

... Domino wraps the header in the html and sends a http status code of 200, e.g. the response is...

<html>
<head>
</head>
<body text="#000000">
HTTP/1.1 503 Service Temporarily Unavailable
</body>
</html>

... with no header added. I've also tried deliberately sending an error through the agent....

Error 503, "HTTP/1.1 503 Service Temporarily Unavailable"

...but Domino still sends http status code 200. Is there any way to do this?

Thanks,
Ryan


Feedback number WEBB8LQR7Z created by ~Martha Nonkigenlen on 09/15/2011






Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS